package com.java.mapper;

import java.math.BigDecimal;
import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.java.dao.ExChapterDao;
import com.java.entity.ExChapter;
import com.java.entity.vo.ChapterVo;

/**
* @ClassName: ExChapterMapper
* @Description: ExChapterDao对应的Mapper继承类
* 由ExChapterDao提供基本的增删改查接口，其他业务接口在此实现即可
* @author admin
* @date 2024-03-15
 */
public interface ExChapterMapper extends ExChapterDao {
    
    ExChapter selectByInfo(ExChapter info);

    List<ChapterVo> selectAllVo(@Param("type")Integer type, @Param("title")String title, @Param("accountId")String accountId, 
    		@Param("pageOffset")int pageOffset, @Param("pageSize")int pageSize);

    long selectAllVoCount(@Param("type")Integer type, @Param("title")String title, @Param("accountId")String accountId);
    
	BigDecimal selectWeightCount();
}
